{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link type="text/css" href='{% static 'books/css/index.css' %}' rel="stylesheet">
    <script type="text/javascript" src='{% static 'js/html5.js' %}'></script>
</head>
<body class="wp">
<h3>{{ fail_word }}</h3>
<form class ="f_l"action = '{%  url 'my_login' %}' method = 'post'>
    {% csrf_token %}
    <div>{{login_form.username}}</div>
    <div>{{login_form.password}}</div>
    <div><input type = 'submit'></div>
</form>
    <div class="f_r"><a href="{% url 'reg' %}" class="head_more">没有账号现在去注册</a></div>
</body>
</html>